package com.ruoyi.project.manhua.mistake.mapper;

import java.util.List;
import com.ruoyi.project.manhua.mistake.domain.MhClimbMistake;

/**
 * 漫画爬虫错误Mapper接口
 *
 * @author yuan
 * @date 2021-02-10
 */
public interface MhClimbMistakeMapper
{
    /**
     * 查询漫画爬虫错误
     *
     * @param id 漫画爬虫错误ID
     * @return 漫画爬虫错误
     */
    public MhClimbMistake selectMhClimbMistakeById(Long id);

    /**
     * 查询漫画爬虫错误列表
     *
     * @param mhClimbMistake 漫画爬虫错误
     * @return 漫画爬虫错误集合
     */
    public List<MhClimbMistake> selectMhClimbMistakeList(MhClimbMistake mhClimbMistake);

    /**
     * 新增漫画爬虫错误
     *
     * @param mhClimbMistake 漫画爬虫错误
     * @return 结果
     */
    public int insertMhClimbMistake(MhClimbMistake mhClimbMistake);

    /**
     * 修改漫画爬虫错误
     *
     * @param mhClimbMistake 漫画爬虫错误
     * @return 结果
     */
    public int updateMhClimbMistake(MhClimbMistake mhClimbMistake);

    /**
     * 删除漫画爬虫错误
     *
     * @param id 漫画爬虫错误ID
     * @return 结果
     */
    public int deleteMhClimbMistakeById(Long id);

    /**
     * 根据nameid删除漫画爬虫错误
     *
     * @param id 漫画爬虫错误ID
     * @return 结果
     */
    public int deleteMhClimbMistakeByNameId(Long id);


    /**
     * 根据chapterid删除漫画爬虫错误
     *
     * @param id 漫画爬虫错误ID
     * @return 结果
     */
    public int deleteMhClimbMistakeByChapterId(Long id);

    /**
     * 根据pageid删除漫画爬虫错误
     *
     * @param id 漫画爬虫错误ID
     * @return 结果
     */
    public int deleteMhClimbMistakeByPageId(Long id);
    /**
     * 批量删除漫画爬虫错误
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteMhClimbMistakeByIds(String[] ids);
}
